package com.clinic.entity.db;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.PrimaryKeyJoinColumn;
import javax.persistence.Table;

@Entity
@Table(name = Assistant.TABLE)
@PrimaryKeyJoinColumn(name = User.Columns.USER_ID)
public class Assistant extends User implements Serializable {

	private static final long serialVersionUID = -7233897547418419271L;
	
	public static final String TABLE = "assistant";
	
	public class Columns{
		//public static final String ASSISTANT_ID = "assistantId";
		public static final String QUALIFICATIONS = "qualifications";
		public static final String OTHERS = "others";
	}
	
	@Column(name = Columns.QUALIFICATIONS)
	private String qualifications;
	
	@Column(name = Columns.OTHERS)
	private String others;	
	
	public String getQualifications() {
		return qualifications;
	}

	public void setQualifications(String qualifications) {
		this.qualifications = qualifications;
	}

	public String getOthers() {
		return others;
	}

	public void setOthers(String others) {
		this.others = others;
	}
	
}
